<template>
	<div class="doc_pc_components_Select_performance">
		<div>
			<Select
				v-for="i in 100"
				:key="i"
				v-model="values[i-1].value"
				:options="options"
				style="width:150px;"
			/>
		</div>
	</div>
</template>

<script setup>
import {onMounted,shallowRef} from 'vue';
import {Select} from 'powerful-ui/pc-default';

const values=[];
for(let i=0;i<100;++i){
	values.push(shallowRef());
}

const options=[];
for(let i=0;i<5e4;++i){
	options.push('选项'+i);
}

console.time('耗时');
onMounted(() => {
	console.timeEnd('耗时');
});
</script>

<style lang="scss">
.doc_pc_components_Select_performance{
}
</style>